# 配置文件：RedisConfig
class RedisConfig(object):
    """
    RedisConfig Redis配置类
    :version: 1.2
    :date: 2020-02-11
    """

    host = 'redis'
    port = '6379'
    password = ''
    database = 0
    max_connections = 100

redis_config = RedisConfig()
redis_config.host = '192.168.2.46'
redis_config.port = '6379'
redis_config.password = 'interdna'
redis_config.database = 1
